package br.eng.eliseu.gwt.gestaoWeb.client;


public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		String s = new String("  aaa       a    a ");
		
//		s = s.trim();
//		s = s.replace("aa", "vbb");
		s = s.trim().replaceAll("\\s+", "_").toUpperCase();
		
		System.out.println(s);
		
	}

}
